package com.wvmi.gmall.seckill.service;

import com.wvmi.gmall.seckill.to.SeckillSkuRedisTo;

import java.io.IOException;
import java.util.List;

/**
 * 描述:   <br>
 *
 * @author Wuminming <br>
 * 创建时间: 2023-12-08 11:50 <br>
 * <p>
 * Copyright: 2013 - 2023 www.szwcyq.com Inc. All rights reserved. <br>
 * 注意：本内容仅限于深圳市微创云启科技有限公司内部传阅，禁止外泄以及用于其他的商业目的<br>
 */
public interface SeckillService {

    void uploadSeckillSkuLatest3Days() throws IOException;

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckilInfo(Long skuId);

    String kill(String killId, String key, Integer num) throws IOException;
}
